/**
 *
 */
package com.persistence.dao;

import java.util.List;
import java.util.Map;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;
import org.springframework.stereotype.Repository;

import com.common.PaginatedResult;
import com.persistence.TCaptain;
import com.persistence.TPlayer;

/**
 * @author Adi
 *
 */
@Repository
public class CaptainDaoImpl extends HibernateDaoSupport implements CaptainDao {

	private final Class<TCaptain> persistentClass = TCaptain.class;
	private static final Log log = LogFactory.getLog(CaptainDaoImpl.class);
	
	@Autowired
	public CaptainDaoImpl(SessionFactory sessionFactory) {
		setSessionFactory(sessionFactory);
	}
	
	public CaptainDaoImpl() {
		super();
	}

	public CaptainDaoImpl(Class<TCaptain> persistentClass) {
		super();
	}

	public Class<TCaptain> getPersistentClass() {
		return persistentClass;
	}
	
	/* (non-Javadoc)
	 * @see com.common.CoreDao#insert(java.lang.Object)
	 */
	@Override
	public TCaptain insert(TCaptain transientInstance) {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see com.common.CoreDao#update(java.lang.Object)
	 */
	@Override
	public TCaptain update(TCaptain detachedInstance) {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see com.common.CoreDao#remove(java.lang.Object)
	 */
	@Override
	public Boolean remove(TCaptain persistentInstance) {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see com.common.CoreDao#removeList(java.util.List)
	 */
	@Override
	public Boolean removeList(List<TCaptain> list) {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see com.common.CoreDao#findById(java.lang.Integer)
	 */
	@Override
	public TCaptain findById(Integer id) {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see com.common.CoreDao#findByExample(java.lang.Object, int[])
	 */
	@Override
	public List<TCaptain> findByExample(TCaptain instance,
			int... rowStartIdxAndCount) {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see com.common.CoreDao#findByProperty(java.lang.String, java.lang.Object, int[])
	 */
	@Override
	public List<TCaptain> findByProperty(String propertyName, Object value,
			int... rowStartIdxAndCount) {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see com.common.CoreDao#findAll(int[])
	 */
	@Override
	public List<TCaptain> findAll(int... rowStartIdxAndCount) {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see com.common.CoreDao#findLikeProperty(java.lang.String, java.lang.Object, int[])
	 */
	@Override
	public List<TCaptain> findLikeProperty(String propertyName, Object value,
			int... rowStartIdxAndCount) {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see com.common.CoreDao#findLikeMapOfProperties(java.util.Map, int[])
	 */
	@Override
	public List<TCaptain> findLikeMapOfProperties(
			Map<String, Object> propertiesMap, int... rowStartIdxAndCount) {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see com.common.CoreDao#findByMapOfProperties(java.util.Map, int[])
	 */
	@Override
	public List<TCaptain> findByMapOfProperties(
			Map<String, Object> propertiesMap, int... rowStartIdxAndCount) {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see com.common.CoreDao#countAll()
	 */
	@Override
	public Integer countAll() {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see com.common.CoreDao#countLikeProperty(java.lang.String, java.lang.Object)
	 */
	@Override
	public Integer countLikeProperty(String propertyName, Object value) {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see com.common.CoreDao#countByProperty(java.lang.String, java.lang.Object)
	 */
	@Override
	public Integer countByProperty(String propertyName, Object value) {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see com.common.CoreDao#countLikeMapOfProperties(java.util.Map)
	 */
	@Override
	public Integer countLikeMapOfProperties(Map<String, Object> propertiesMap) {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see com.common.CoreDao#countByMapOfProperties(java.util.Map)
	 */
	@Override
	public Integer countByMapOfProperties(Map<String, Object> propertiesMap) {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see com.common.CoreDao#paginateLikeMapOfProperties(java.util.Map, int[])
	 */
	@Override
	public PaginatedResult<TCaptain> paginateLikeMapOfProperties(
			Map<String, Object> propertiesMap, int... rowStartIdxAndCount) {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see com.common.CoreDao#paginateAll(int[])
	 */
	@Override
	public PaginatedResult<TCaptain> paginateAll(int... rowStartIdxAndCount) {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see com.common.CoreDao#paginateByMapOfProperties(java.util.Map, int[])
	 */
	@Override
	public PaginatedResult<TCaptain> paginateByMapOfProperties(
			Map<String, Object> propertiesMap, int... rowStartIdxAndCount) {
		// TODO Auto-generated method stub
		return null;
	}

}
